cmake_minimum_required(VERSION 2.6)
project(csocket)
if(NOT MSVC)
    add_definitions(-DLINUX)
else()
    add_definitions(-DWINDOWS)
endif()
aux_source_directory(. CPP_SRC)
add_executable(csocket ${CPP_SRC})